@define-mixin pagination-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--h-pagination-font-size);
  min-width: var(--h-pagination-button-width);
  height: var(--h-pagination-button-height);
  line-height: var(--h-pagination-button-height);
  color: var(--h-pagination-button-color);
  background: var(--h-pagination-bg-color);
  padding: 0 4px;
  border: none;
  border-radius: var(--h-pagination-border-radius);
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  margin-top: 0;

  * {
    pointer-events: none;
  }

  &:focus {
    outline: none;
  }

  &:hover {
    color: var(--h-pagination-hover-color);
  }

  &.is-active {
    color: var(--h-pagination-hover-color);
    cursor: default;
    font-weight: bold;

    &.is-disabled {
      font-weight: bold;
      color: var(--h-text-color-primary);
    }
  }

  &:disabled,
  &.is-disabled {
    color: var(--h-text-color-placeholder);
    /* background-color: var(--h-fill-color-blank); */
    cursor: not-allowed;
  }

  &:focus-visible {
    outline: 1px solid var(--h-pagination-hover-color);
    outline-offset: -1px;
  }
}

@define-mixin  icon {
  --color: inherit;
  height: 1em;
  width: 1em;
  line-height: 1em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  fill: currentColor;
  color: var(--color);
  font-size: inherit;
}
